<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<div class="desplegable">
		<?php  $this->Form->new_menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="bitacoras index">	
	<h2><?php __('Bitacoras' );?></h2>
	<h3><?php __('Usuarios' );?></h3>
	<table cellpadding="0" cellspacing="0">
	<tr>			
			<th><?php echo 'Nombre'; ?></th>			
			<th><?php echo 'Rol'; ?></th>
			<th class="actions"><?php __('Acciones');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($usuarios as $usuario):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
		
		
	?>
	<tr<?php echo $class;?>>
		<td><?php  echo $usuario['Usuario']['nombre_completo']; ?>&nbsp;</td>
		<td><?php  echo $usuario['Rol']; ?>&nbsp;</td>		
		<td class="actions"><?php echo $this->Html->link(__('Seguir Bitacora', true), array('action' => 'index',  $usuario['Usuario']['id']));?></td>		
	</tr>
<?php endforeach; ?>
	</table>
	
</div>